import json

with open('./data/train_val_videodatainfo.json', 'r') as f:
    data = json.load(f)
    print("data length: %d" % len(data))
    print("data['info'] length: %d" % len(data['info']))
    print("data['videos'] length: %d" % len(data['videos']))
    print("data['sentences'] length: %d" % len(data['sentences']))

    for sent in data['sentences']:
    	print(sent['video_id'])